/*
 * @Author: your name
 * @Date: 2021-04-27 14:59:56
 * @LastEditTime: 2021-04-27 15:04:35
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \js_study\demo03\src\components\Result\index.js
 */

import tpl from './index.tpl';

export default class ResultComponent{
    constructor(){
        this.name = "ResultComponent";
    };

    tpl(){
        const oDiv = document.createElement('div');
        oDiv.innerHTML = tpl();
        return oDiv;
    };
}